//
//  MasterViewController.h
//  album
//
//  Created by 云天 李 on 12-1-12.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class DetailViewController;
@class Album;

@interface MasterViewController : UITableViewController
<UIAlertViewDelegate>

@property (strong, nonatomic) DetailViewController *detailViewController;
@property (strong, nonatomic) UITextField *albumTitleTextField;
// 当前编辑的相册
@property (nonatomic, retain) Album *editingAlbum;

// 存放相册（Album）信息
@property (strong, nonatomic) NSMutableArray *albums;

// 从数据库读取所有相册
- (void) loadAlbums;
@end
